package springBoot_dzfpxt.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;


@Entity 
public class Boos extends EimUser{

	private	String danwei;		//单位名称
	private String phone;		//电话
	private Integer dzfpNum;		//所管理的电子发票数量
	private SuperBoos superboos;	//超级管理员id
	
	@Column(length=50)
	public String getDanwei() {
		return danwei;
	}
	public void setDanwei(String danwei) {
		this.danwei = danwei;
	}
	@Column(length=50)
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Integer getDzfpNum() {
		return dzfpNum;
	}
	public void setDzfpNum(Integer dzfpNum) {
		this.dzfpNum = dzfpNum;
	}
	@ManyToOne
	public SuperBoos getSuperboos() {
		return superboos;
	}
	public void setSuperboos(SuperBoos superboos) {
		this.superboos = superboos;
	}
	public Boos() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
